const routers =[
    {
        path: '/dashboard',
        name:'dashboard',
        meta:{
          title:'Dashboard',
        },
        component: () => import('@/layout/index.vue'),
        children:[
          {
            path: 'console',
            name:'dashboard_console',
            meta:{
              title:'主控台',
            },
            component: () => import('@/views/dashboard/console.vue'),
          },
          {
            path: 'monitor',
            name:'dashboard_monitor',
            meta:{
              title:'监控台',
            },
            component: () => import('@/views/dashboard/monitor.vue'),
          },
          {
            path: 'workplace',
            name:'dashboard_workplace',
            meta:{
              title:'工作台',
            },
            component: () => import('@/views/dashboard/workplace.vue'),
          }
        ]
      }
]
export default routers